Soru & Cevap

Android Studio da proje kütüphane yükleme hatası ...

04.05.2015 - 04:54

Android Studio da proje kütüphane yüklemeye çalıştığımda "Error:Configuration with name 'default' not found." hatası alıyorum.

Yaptığım ayarlar:

settings.gradle:

include ':app'
include ':app:libraries:pulltorefresh'

app/build.gradle:

 compile project('libraries:pulltorefresh')

şeklindedir.

Yüklemeye çalıştığım kütüphane linki:

https://github.com/johannilsson/android-pulltorefresh 

Ektede android projemin; dosya yapısının screen shot ı bulunmaktadır.

 

yardımcı olursanız sevinirim

 

 

 

 

 

 

84 Görüntülenme

1 Cevap

Sitedeki sorulara cevap verebilmek için giriş yapın ya da üye olun.

picture-32113-1525245330.jpg
tugbaustundag
04.05.2015 - 06:22

build.gradle dosya icerigi

 

apply plugin: 'com.android.application'

android {
    compileSdkVersion 22
    buildToolsVersion "22.0.1"

    defaultConfig {
        applicationId "tugbaustundag.pullrefresh"
        minSdkVersion 11
        targetSdkVersion 22
        versionCode 1
        versionName "1.0"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    compile 'com.android.support:appcompat-v7:22.1.1'
  compile project('libraries:pulltorefresh')
}